package com.lanou.mapper;

import com.lanou.entity.Certificate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CertificateMapper {

    int insert(Certificate certificate);

    int deleteById(Integer id);

    int updateById(Certificate certificate);


    Certificate selectById(Integer id);

    List<Certificate> selectAll();

    List<Certificate> selectByConsultantId(Integer consultantId);
}
